﻿@model IEnumerable<MoskieDotNet.Models.Post>

@foreach (var item in Model) {
    <h1>@item.Title</h1>
    <h5>@item.PostedDate</h5>
    <p>@Html.Raw(item.Text)</p>
    <p>
        @Html.ActionLink("Edit", "Edit", "Post", new { id=item.Id }, null) |
        @Html.ActionLink("Delete", "Delete", new { id=item.Id })
    </p>
    <hr />
}
